import request from '@/utils/request'

export function page(data) {
  return request({
    url: '/video/list/' + data.page + '/' + data.size,
    method: 'get',
    data: null
  })
}

export function remove(id) {
  return request({
    url: '/video/' + id,
    method: 'delete'
  })
}

export function list() {
  return request({
    url: '/video/list',
    method: 'get'
  })
}
